package com.yunsc.store.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.yunsc.common.validator.ValidationGroups;
import com.yunsc.store.vo.UserGradeVO;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @version: 1.0
 * @Author: adan
 * @description: 用户等级dto
 * @date: 2024-01-23 14:39
 */
@Data
public class UserGradeDTO implements Serializable {
    @JsonProperty("gradeId")
    @NotNull(message = "用户等级id不能为空", groups = {ValidationGroups.Delete.class, ValidationGroups.Update.class})
    private Integer gradeId;
    private UserGradeVO form;

}
